/**
 * 
 */
package com.cnhaimei.vod.net.dc;

import com.cnhaimei.vod.net.DCManager;

/**
 * 播放器状态值
 * 
 * @author jin001.wu@gmail.com <br>
 * @date 2011-7-26
 * 
 */
public class Player {
	private static final Player p = new Player();
	
	public static final int MAX_SEL = 50;
	public static final int MAX_DONE = 50;
	
	/** 播放 */
	public static final int PLAYER_SATA_PLAY = DCManager.CTRL_PLAY;
	/** 暂停 */
	public static final int PLAYER_SATA_PAUSE = DCManager.CTRL_PAUSE;
	/** 停止 */
	public static final int PLAYER_SATA_STOP = DCManager.CTRL_STOP;
	/** 重唱 */
	public static final int PLAYER_SATA_REPL = DCManager.CTRL_REPL;
	/** 下一首 */
	public static final int PLAYER_SATA_NEXT = DCManager.CTRL_NEXT;
	/** 音量控制 */
	public static final int PLAYER_SET_VOLUM = DCManager.CTRL_VOICE_VOLUME_SET;
	/** 静音或者取消静 */
	public static final int PLAYER_SET_SILENT = DCManager.CTRL_SILENT;
	/** 音轨选择 */
	public static final int PLAYER_SET_TRACK = DCManager.CTRL_AUDIO_MUL_CHANNEL_SET;
	/** 麦克风设置 */
	public static final int PLAYER_SET_MIC = DCManager.CTRL_MIC_SET;
	/** 音调设置 */
	public static final int PLAYER_SET_TONE = DCManager.CTRL_TONE_SET;
	/** 气氛设置 */
	public static final int PLAYER_SET_MOOD = DCManager.CTRL_MOOD_SET;
	/** 灯光设置 */
	public static final int PLAYER_SET_LIGHT = DCManager.CTRL_LIGHT_SET;
	/** 音效设置 */
	public static final int PLAYER_SET_EFFECT = DCManager.CTRL_EFFECT_SET;
	/** 灯光跟随音效 1, 0 */
	public static final int PLAYER_SET_FOLLOW_LIGHT = DCManager.CTRL_LIGHT_FOLLOW_EFFECT;
	/** 重置*/
	public static final int PLAYER_SET_RESET = DCManager.CTRL_RESET;

	private Player() {
	}

	/** 播放器状态 */
	private int playerState;
	/** 音轨状态 */
	private int trackState;
	/** 麦克风数值 */
	private int micVolume;
	/** 音量数值 */
	private int audioVolume;
	/** 音调数值 */
	private int toneVolume;
	/** 气氛 */
	private int mood;
	/** 灯光状态 */
	private int lightState;
	/** 音效状态 */
	private int effectState;
	/** 已选列表 记录总数*/
	private int playlistState;
	/** 已唱列表 记录总数*/
	private int donelistState;
	/**静音*/
	private int slient;
	/** 灯光跟随音效状态 */
	private int lightFollowEffect;
	private int toneMin;
	private int toneMax;
	private int toneScale;
	private int audioMin;
	private int audioMax;
	private int audioScale;
	private int micMin;
	private int micMax;
	private int micScale;

	public static Player G() {
		return p;
	}

	/**
	 * @return the playerState
	 */
	public int getPlayerState() {
		return playerState;
	}

	/**
	 * @param playerState
	 *            the playerState to set
	 */
	public void setPlayerState(int playerState) {
		this.playerState = playerState;
	}

	/**
	 * @return the trackState
	 */
	public int getTrackState() {
		return trackState;
	}

	/**
	 * @param trackState
	 *            the trackState to set
	 */
	public void setTrackState(int trackState) {
		this.trackState = trackState;
	}

	/**
	 * @return the micVolume
	 */
	public int getMicVolume() {
		return micVolume;
	}

	/**
	 * @param micVolume
	 *            the micVolume to set
	 */
	public void setMicVolume(int micVolume) {
		this.micVolume = micVolume;
	}

	/**
	 * @return the audioVolume
	 */
	public int getAudioVolume() {
		return audioVolume;
	}

	/**
	 * @param audioVolume
	 *            the audioVolume to set
	 */
	public void setAudioVolume(int audioVolume) {
		this.audioVolume = audioVolume;
	}

	/**
	 * @return the toneVolume
	 */
	public int getToneVolume() {
		return toneVolume;
	}

	/**
	 * @param toneVolume
	 *            the toneVolume to set
	 */
	public void setToneVolume(int toneVolume) {
		this.toneVolume = toneVolume;
	}

	/**
	 * @return the mood
	 */
	public int getMood() {
		return mood;
	}

	/**
	 * @param mood
	 *            the mood to set
	 */
	public void setMood(int mood) {
		this.mood = mood;
	}

	/**
	 * @return the lightState
	 */
	public int getLightState() {
		return lightState;
	}

	/**
	 * @param lightState
	 *            the lightState to set
	 */
	public void setLightState(int lightState) {
		this.lightState = lightState;
	}

	/**
	 * @return the effectState
	 */
	public int getEffectState() {
		return effectState;
	}

	/**
	 * @param effectState
	 *            the effectState to set
	 */
	public void setEffectState(int effectState) {
		this.effectState = effectState;
	}

	/**
	 * @return the playlistState
	 */
	public int getPlaylistCount() {
		return playlistState;
	}

	/**
	 * @param playlistState
	 *            the playlistState to set
	 */
	public void setPlaylistState(int playlistState) {
		this.playlistState = playlistState;
	}

	/**
	 * @return the donelistState
	 */
	public int getDonelistCount() {
		return donelistState;
	}

	/**
	 * @param donelistState
	 *            the donelistState to set
	 */
	public void setDonelistState(int donelistState) {
		this.donelistState = donelistState;
	}

	/**
	 * @return the slient
	 */
	public int getSlient() {
		return slient;
	}

	/**
	 * @param slient the slient to set
	 */
	public void setSlient(int slient) {
		this.slient = slient;
	}

	/**
	 * @return the lightFollowEffect
	 */
	public int getLightFollowEffect() {
		return lightFollowEffect;
	}

	/**
	 * @param lightFollowEffect the lightFollowEffect to set
	 */
	public void setLightFollowEffect(int lightFollowEffect) {
		this.lightFollowEffect = lightFollowEffect;
	}

	/**
	 * @return the toneMin
	 */
	public int getToneMin() {
		return toneMin;
	}

	/**
	 * @param toneMin the toneMin to set
	 */
	public void setToneMin(int toneMin) {
		this.toneMin = toneMin;
	}

	/**
	 * @return the toneMax
	 */
	public int getToneMax() {
		return toneMax;
	}

	/**
	 * @param toneMax the toneMax to set
	 */
	public void setToneMax(int toneMax) {
		this.toneMax = toneMax;
	}

	/**
	 * @return the toneScale
	 */
	public int getToneScale() {
		return toneScale;
	}

	/**
	 * @param toneScale the toneScale to set
	 */
	public void setToneScale(int toneScale) {
		this.toneScale = toneScale;
	}

	/**
	 * @return the audioMin
	 */
	public int getAudioMin() {
		return audioMin;
	}

	/**
	 * @param audioMin the audioMin to set
	 */
	public void setAudioMin(int audioMin) {
		this.audioMin = audioMin;
	}

	/**
	 * @return the audioMax
	 */
	public int getAudioMax() {
		return audioMax;
	}

	/**
	 * @param audioMax the audioMax to set
	 */
	public void setAudioMax(int audioMax) {
		this.audioMax = audioMax;
	}

	/**
	 * @return the audioScale
	 */
	public int getAudioScale() {
		return audioScale;
	}

	/**
	 * @param audioScale the audioScale to set
	 */
	public void setAudioScale(int audioScale) {
		this.audioScale = audioScale;
	}

	/**
	 * @return the micMin
	 */
	public int getMicMin() {
		return micMin;
	}

	/**
	 * @param micMin the micMin to set
	 */
	public void setMicMin(int micMin) {
		this.micMin = micMin;
	}

	/**
	 * @return the micMax
	 */
	public int getMicMax() {
		return micMax;
	}

	/**
	 * @param micMax the micMax to set
	 */
	public void setMicMax(int micMax) {
		this.micMax = micMax;
	}

	/**
	 * @return the micScale
	 */
	public int getMicScale() {
		return micScale;
	}

	/**
	 * @param micScale the micScale to set
	 */
	public void setMicScale(int micScale) {
		this.micScale = micScale;
	}
	
	

}
